package com.homework02;

/*
观察代码,说出rs1, rs2, rs3 , rs4的结果
int a = 20;
int rs1 = a++;
int rs2 = a--;
int rs3 = ++a;
int rs4 = --a;
*/
public class work10 {
    public static void main(String[] args) {
        int a = 20;
        int rs1 = a++;
        int rs2 = a--;
        int rs3 = ++a;
        int rs4 = --a;
        System.out.println(rs1);
        System.out.println(rs2);
        System.out.println(rs3);
        System.out.println(rs4);
        System.out.println("10"+'a'+10);
        /*
        * 20
          21
          21
          20
        * */
    }
}
